package com.lv.dhart.beans.market;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class DelegateOrderListBean {

    @SerializedName("code")
    private Integer code;
    @SerializedName("message")
    private String message;
    @SerializedName("data")
    private DataDTO data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        @SerializedName("page")
        private Integer page;
        @SerializedName("total_pages")
        private Integer totalPages;
        @SerializedName("total")
        private Integer total;
        @SerializedName("list")
        private List<ListDTO> list;

        public Integer getPage() {
            return page;
        }

        public void setPage(Integer page) {
            this.page = page;
        }

        public Integer getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(Integer totalPages) {
            this.totalPages = totalPages;
        }

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public List<ListDTO> getList() {
            return list;
        }

        public void setList(List<ListDTO> list) {
            this.list = list;
        }

        public static class ListDTO {
            @SerializedName("createdAt")
            private String createdAt;
            @SerializedName("delegationOrderId")
            private String delegationOrderId;
            @SerializedName("nftName")
            private String nftName;
            @SerializedName("price")
            private Integer price;
            @SerializedName("nftDid")
            private String nftDid;
            @SerializedName("tradeType")
            private Integer tradeType;

            public String getCreatedAt() {
                return createdAt;
            }

            public void setCreatedAt(String createdAt) {
                this.createdAt = createdAt;
            }

            public String getDelegationOrderId() {
                return delegationOrderId;
            }

            public void setDelegationOrderId(String delegationOrderId) {
                this.delegationOrderId = delegationOrderId;
            }

            public String getNftName() {
                return nftName;
            }

            public void setNftName(String nftName) {
                this.nftName = nftName;
            }

            public Integer getPrice() {
                return price;
            }

            public void setPrice(Integer price) {
                this.price = price;
            }

            public String getNftDid() {
                return nftDid;
            }

            public void setNftDid(String nftDid) {
                this.nftDid = nftDid;
            }

            public Integer getTradeType() {
                return tradeType;
            }

            public void setTradeType(Integer tradeType) {
                this.tradeType = tradeType;
            }
        }
    }
}
